package com.article.service;

import com.article.entity.dto.AdminDao;
import com.article.entity.dto.AdminSearchDao;
import com.article.entity.pojo.Admin;
import com.article.entity.vo.AdminVo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface AdminService extends IService<Admin> {
    AdminVo getAdminPage(AdminSearchDao adminSearchDao);

    boolean addAdmin(AdminDao adminDao);

    boolean updateAdmin(AdminDao adminDao);

    boolean deleteAdmin(Integer id);

    boolean deleteAdmins(Integer[] ids);
}
